import React, { Component } from 'react'
import Header from '../components/IndexHeader_c';
import Room from '../components/Room_c';

export default class BrowsePage extends Component {
    handleClick = ()=>{
        this.props.history.go(-1)
    }
    render() {
        return (
            <div>
                <Header onClick={this.handleClick}>浏览记录</Header>
                <div className="body">
                    <Room list={[
                        {
                            title: "石景山",
                            src: "room.png",
                            size: "43平/2室 1厅 / 远洋新天地",
                            prise: "2000/月",
                            tag: ['小区','楼房']
                        }
                    ]}  
                    ></Room>
                </div>
            </div>
        )
    }
}
